package com.zd.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class Post implements Serializable {

    private Integer postId;

    private Integer userId;

    private String postTitle;

    private String postContent;

    private Integer postState;
    //点赞数
    private Integer likeNum;

    //评论数
    private Integer commentNum;

    private Date creatTime;

    private Date modifyTime;

    private List<PostImgs> postImgsList;

    private List<PostLike> postLikes;

    private List<Comment> comments;

    private User user;



}
